package com.gdssoft.pdaweb.service.ws;

import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

@WebService(targetNamespace="http://gdssoft.foxconn.com/")
@SOAPBinding(style = Style.RPC)
public interface CrmWorkOrderService {
	/**
	 * 推送客服工单至本地数据库
	 * @param activityUID  CRM 活动编号
	 * @param houseNumber  房屋编号
	 * @param houseLocation  房屋地址
	 * @param contactPerson  联系人
	 * @param contactPhoneNo  联系电话
	 * @param dutyPerson  负责人
	 * @param workDescription  工作描述
	 * @param workPriority  优先级
	 * @param workStatus  状态
	 * @param plannedCompletion  完成时间
	 * @param comment  备注
	 * @param srno  服务请求编号
	 * @param createPerson  创建人
	 * @return
	 */
	boolean push(@WebParam(name="activityUID")String activityUID, 
			@WebParam(name="houseNumber")String houseNumber, 
			@WebParam(name="houseLocation")String houseLocation, 
			@WebParam(name="contactPerson")String contactPerson, 
			@WebParam(name="contactPhoneNo")String contactPhoneNo, 
			@WebParam(name="dutyPerson")String dutyPerson, 
			@WebParam(name="workDescription")String workDescription, 
			@WebParam(name="workPriority")String workPriority, 
			@WebParam(name="workStatus")String workStatus, 
			@WebParam(name="plannedCompletion")String plannedCompletion, 
			@WebParam(name="comment")String comment, 
			@WebParam(name="srno")String srno, 
			@WebParam(name="createPerson")String createPerson
	);
}
